PrizmDoc
Defining the View Mode

The ViewMode enumeration defines view modes known by PCCViewer.ViewerControl. The ViewerControl uses a specified view mode to set or update how documents that contain different sized pages are displayed in the Viewing Client. This enumeration is a convenience for API developers. Instead of using it, you can pass in the string values of the view mode (enumeration values) directly to the API.

There are three view modes available:

To set the ViewMode:

Example
Copy Code
// use the enumeration
myViewerControl.setViewMode(PCCViewer.ViewMode.SinglePage);
// or just use the string value
myViewerControl.setViewMode("SinglePage");

 

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback